import matplotlib.pyplot as plt
import cv2


def show_landmarks(image_path, landmarks):
    # 在图像中打点
    plt.figure()  # 生成画布

    image = cv2.imread(image_path)

    plt.imshow(image)

    x = [44, 55, 64, 66, 88]
    y = [34, 77, 117, 88, 5]
    plt.scatter(x, y, s=50, marker='.' , c='r')  # 我可以用白话文把这句话要做的事情说出来
    # plt.pause(0.01 )  等待绘制
    plt.show()


show_landmarks("/Users/yongli/Pictures/flower01.jpeg",0 )
